SHLIB_NAME?=	padlock.so

SRCS=	e_padlock.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	e_padlock-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	e_padlock-x86.S
.endif

LDFLAGS.bfd+=	-Wl,-znoexecstack

.PATH:	${SRCTOP}/sys/crypto/openssl/${MACHINE_CPUARCH}

.include <bsd.lib.mk>
